Repository navigation
Conversation
|
Clean fix — the A few things worth a second look:
Nice work — mainly looking for your take on point 1. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Summary
Context
Credentials are global, but
integration.connection.updatedwas tagged with the location where authentication occurred. Other cached location graphs therefore retained stale OpenAI routing and could combine a current ChatGPT OAuth token with the public OpenAI Responses endpoint, resulting in401errors for missingapi.responses.write.Validation
bun typecheckinpackages/corebun test test/location-layer.test.ts test/plugin/provider-openai.test.ts test/config/config.test.tsinpackages/core